<template>
  <div class="description">
    <c-title text="规则说明"></c-title>
    <div v-html="content"></div>
  </div>
</template>
<script>

export default {
    data(){
      return {
        content:""
      }
    },
    activated(){
      this.getData();
    },
    methods:{
      getData(){
        $http.post("plugin.subscription.frontend.modules.rules.controllers.page.index").then(({result,msg,data})=>{
        if(result){
          this.content = data.content
        }else{
          this.$toast(msg);
        }
      })
      }
    }
}
</script>

<style scoped>
</style>